import Vue from 'vue'
import Router from 'vue-router'
import dataSimulation from '../pages/dataSimulation'
import process from '../pages/process'
import algorithm from '../pages/algorithm'
import homepage from '../pages/homepage'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'homepage',
      component: homepage,
      meta: {
        id: 0
      }
    },
    {
      path: '/dataSimulation',
      name: 'dataSimulation',
      component: dataSimulation,
      meta: {
        id: 1
      }
    },
    {
      path: '/process',
      name: 'process',
      component: process,
      meta: {
        id: 2
      }
    },
    {
      path: '/algorithm',
      name: 'algorithm',
      component: algorithm,
      meta: {
        id: 3
      }
    }
  ]
})
